<div class="ui table-wrap">
    <table class="ui celled table">
        <thead>
            <tr><th class="collapsing">城市</th>
            <th class="collapsing">高铁站</th>
            <th class="collapsing">经度</th>
            <th class="collapsing">纬度</th>
            <th class="collapsing">状态</th>
            <th class="collapsing">操作</th>
        </tr></thead>
        <tbody>
            <% data.forEach(function(row){ %>
            <tr>
                <td data-name="type" data-value="1" style="display:none;"></td>
                <td data-name="cityName" data-value="<%=row.cityName%>"><%=row.cityName%></td>
                <td data-name="terminal" data-value="<%=row.terminal%>"><%=row.terminal%></td>
                <td data-name="longitude" data-value="<%=row.longitude%>"><%=row.longitude%></td>
                <td data-name="dimension" data-value="<%=row.dimension%>"><%=row.dimension%></td>
                <td data-name="status" data-value="<%=row.status%>"><%if(row.status == 0){%>未上线<%}else{%>已上线<%}%></td>
                <td>
                    <a class="status" href="javascript:void(0);" data-status="<%=row.status%>" data-id="<%=row.id%>" data-key="id" data-url="/terminal/info/update"><%if(row.status == 0){%>发布<%}else{%>撤下<%}%></a>&nbsp;&nbsp;
                    <a class="edit" href="javascript:void(0);" data-id="<%=row.id%>" data-key="id" data-url="/terminal/info/update">编辑</a>&nbsp;&nbsp;
                    <a class="delete" href="javascript:void(0);" data-id="<%=row.id%>" data-key="id"  data-url="/terminal/info/delete">删除</a>
                </td>
            </tr>
            <% }); %>
        </tbody>
    </table>
</div>
